All Packages Class Hierarchy This Package Previous Next Index
Class sun.server.util.Sort
java.lang.Object
|
+----sun.server.util.Sort
- public class Sort
- extends Object
-
Sort()
-
-
quicksort(Object[], Compare)
-
-
quicksort(Object[], int, int, Compare)
- quicksort the array of objects.
Sort
public Sort()
quicksort
public static void quicksort(Object arr[],
int left,
int right,
Compare comp)
- quicksort the array of objects.
- Parameters:
- arr[] - - an array of objects
- left - - the start index - from where to begin sorting
- right - - the last index.
- comp - - an object that implemnts the Compare interface to resolve thecomparison.
quicksort
public static void quicksort(Object arr[],
Compare comp)
All Packages Class Hierarchy This Package Previous Next Index